package com.hsxc.cdz.base.bean;


import com.fasterxml.jackson.annotation.JsonInclude;

/**
* @author 作者: 陈钊
* @version 创建时间：2016年5月23日 上午11:59:36 
* 类说明 ：
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class MyUser {
	
	//====================================================================
	//私有属性
	private int id;                   //自增Id 用于排序
	private String regName;           //注册名称 
	private String name;              //姓名
	private String password;          //密码
	private Integer type;             //用户类型?
	private int gender;               //性别
	private String tel;               //联系电话
	private String email;             //电子邮箱
	private String birthday;          //出生日期
	private String address;           //所在地
	private int point;                //积分数量
	private int state;                //状态
	private int level;                //等级
	private String driveLicenNO;      //驾照号码
	private int quesOneNO;            //安全问题1
	private String quesOneAnsw;       //安全问题1答案
	private int quesTwoNO;            //安全问题2
	private String quesTwoAnsw;       //安全问题2答案
	private boolean isDelete;         //是否删除      
	private String province;          //省
	private String city;              //市
	private String county;            //区县
	private String street;            //街道
	
	public static final int NO_LOGIN =100; // 没有登录
	
	public MyUser() {
		// TODO Auto-generated constructor stub
		//this.regName = "";
		//this.name = "";
	}	
//	public static final int MAN = 1;
//	public static final int WOMAN = 2;
	//======================================================================
	//get() and set()
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getRegName() {
		return regName;
	}

	public void setRegName(String regName) {
		this.regName = regName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getPoint() {
		return point;
	}

	public void setPoint(int point) {
		this.point = point;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getDriveLicenNO() {
		return driveLicenNO;
	}

	public void setDriveLicenNO(String driveLicenNO) {
		this.driveLicenNO = driveLicenNO;
	}

	public int getQuesOneNO() {
		return quesOneNO;
	}

	public void setQuesOneNO(int quesOneNO) {
		this.quesOneNO = quesOneNO;
	}

	public String getQuesOneAnsw() {
		return quesOneAnsw;
	}

	public void setQuesOneAnsw(String quesOneAnsw) {
		this.quesOneAnsw = quesOneAnsw;
	}

	public int getQuesTwoNO() {
		return quesTwoNO;
	}

	public void setQuesTwoNO(int quesTwoNO) {
		this.quesTwoNO = quesTwoNO;
	}

	public String getQuesTwoAnsw() {
		return quesTwoAnsw;
	}

	public void setQuesTwoAnsw(String quesTwoAnsw) {
		this.quesTwoAnsw = quesTwoAnsw;
	}

	public boolean getDelete() {
		return isDelete;
	}

	public void setDelete(boolean isDelete) {
		this.isDelete = isDelete;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}


//
//	public MyUser(int id, String regName, String name, String password, Integer type, int gender, String tel,
//			String email, String birthday, String address, int point, int state, int level, String driveLicenNO,
//			int quesOneNO, int quesTwoNO, String quesOneAnsw, String quesTwoAnsw, boolean isDelete, String province,
//			String city, String county, String street) {
//		super();
//		this.id = id;
//		this.regName = regName;
//		this.name = name;
//		this.password = password;
//		this.type = type;
//		this.gender = gender;
//		this.tel = tel;
//		this.email = email;
//		this.birthday = birthday;
//		this.address = address;
//		this.point = point;
//		this.state = state;
//		this.level = level;
//		this.driveLicenNO = driveLicenNO;
//		this.quesOneNO = quesOneNO;
//		this.quesOneAnsw = quesOneAnsw;
//		this.quesTwoNO = quesTwoNO;
//		this.quesTwoAnsw = quesTwoAnsw;
//		this.isDelete = isDelete;
//		this.province = province;
//		this.city = city;
//		this.county = county;
//		this.street = street;
//	}
}
